<!-- 添加车辆类型 -->
<div class="layui-col-md12"> 
    <div class="layui-col-xs6 layui-col-md12">
        <form class="layui-form " style="width: 750px;margin:20px 10%;">
            <div class="layui-form-item layui-col-md12">
                <div class="layui-inline ">
                    <label class="layui-form-label">类型</label>
                    <div class="layui-input-inline">
                        <select name="type" class="type" lay-filter="type">
                            <option value="" {$Think.get.type? "": "selected"}>全部</option>
                            <optgroup label="公务">
                                <option value="2" {$Think.get.type==2? "selected": ""}>公务车</option>
                                <option value="3" {$Think.get.type==3? "selected": ""}>公包车</option>
                            </optgroup>
                            <optgroup label="个人">
                                <option {$Think.get.type==4? "selected": ""} value="4">约租车</option>
                                <option {$Think.get.type==5? "selected": ""} value="5">私包车</option>
                            </optgroup>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">车辆类型</label>
                    <div class="layui-input-inline">
                        <select name="car_type" lay-filter="car_type" class="car_type">
                            <option {$Think.get.car_type? "": "selected"} value=''>全部</option>
                            <option {$Think.get.car_type==2? "selected": ""} value='2'>优选型</option>
                            <option {$Think.get.car_type==3? "selected": ""} value='3'>舒适型</option>
                            <option {$Think.get.car_type==4? "selected": ""} value='4'>豪华型</option>
                            <option {$Think.get.car_type==9? "selected": ""} value='9'>商务型</option>
                            <option {$Think.get.car_type==5? "selected": ""} value='5'>大巴</option>
                            <option {$Think.get.car_type==6? "selected": ""} value='6'>小巴</option>
                            <option {$Think.get.car_type==7? "selected": ""} value='7'>中巴</option>
                            <option {$Think.get.car_type==8? "selected": ""} value='8'>执法车</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline" >
                    <label class="layui-form-label">车型名称(座位)</label>
                    <div class="layui-input-inline">
                        <input type="text" name="car_type_name"  value="" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                        <label class="layui-form-label">区域</label>
                        <div class="layui-input-inline">
                          <select name="area_id" lay-verify="required" lay-search="" class="area">
                          </select>
                        </div>
                </div>


                <div class="layui-inline seats" style="display: none;">
                    <label class="layui-form-label">座位数</label>
                    <div class="layui-input-inline">
                        <input type="number" name="seats" id="" value="" class="layui-input" />
                    </div>
                </div>
            </div>
            <div class="normal">
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>司机</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">起步里程[公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="starting_km" lay-verify="number" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">起步时间[分钟]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="starting_time" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">里程费[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="mileage_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">起步价[元]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="starting_price" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">夜间行驶费[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="night_driving_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">低速行驶费[元/分钟]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="low_speed_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">时长费[元/分钟]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="time_charge" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">远途费[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="transit_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">侯客费[元/分钟]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="waiting_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">取消费[元]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="cancel_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>乘客</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">里程费[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_mileage_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">起步价[元]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_starting_price" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">夜间行驶费[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_night_driving_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">低速行驶费[元/分钟]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_low_speed_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">时长费[元/分钟]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_time_charge" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">远途费[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_transit_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">侯客费[元/分钟]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_waiting_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">取消费[元]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_cancel_cost" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
            <div class="baoche">
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>包车-乘客</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">包车里程[公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="chartered_km" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">包车时间[小时]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="chartered_hour" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">夜间服务费[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_chartered_night" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">包车费用[元]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_chartered_charge" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">超时价[元/分钟]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_chartered_overtime" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">超公里价[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="p_chartered_overrun" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>包车-司机</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">夜间服务费[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="chartered_night" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">包车费用[元]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="chartered_charge" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">超时价[元/分钟]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="chartered_overtime" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">超公里价[元/公里]</label>
                        <div class="layui-input-inline">
                            <input type="number" name="chartered_overrun" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="button" style="margin:0 auto;display: inline-block;" class="layui-btn layui-btn-normal keep" lay-submit=""
                        lay-filter="save">保存</button>
                    <button type="button" style="margin:0 auto;display: inline-block;" class="layui-btn layui-btn-normal back">返回上一页</button>
                </div>
            </div>
        </form>
    </div>
</div>